function asc = num2strtab(n, f, nd, ld)
% num2strtab  - creates a tabular data output of a numeric data table
%
% FORMAT:       asc = num2strtab(n [, f [, nd [, ld]]])
%
% Input fields:
%
%       n           numeric array
%       f           format specifier
%       nd          delimiter between individual numbers/columns
%       ld          line/row delimiter
%
% Output fields:
%
%       asc         ASCII representation of table
%
% This is a MEX (c compiled) function for efficiency.
%
% See also sprintf

% Version:  v0.7f
% Build:    8110521
% Date:     Nov-05 2008, 9:00 PM CET
% Author:   Jochen Weber, SCAN Unit, Columbia University, NYC, NY, USA
% URL/Info: http://wiki.brainvoyager.com/BVQXtools

% just to make sure
error( ...
    'BVQXtools:MEXMissing', ...
    'This is a compiled function, but the MEX file is missing.' ...
);
